import { request } from '../utils/request'

export function doctorList(params) {
    return request({
        method: 'post',
        url: 'doctor/getDoctorList',
        data: params,
    })
}

export function addDoctor(params){
    return request({
        method:'post',
        url:'doctor/addDoctor',
        data:params
    })
}

export function editDoctor(params){
    return request({
        method:'post',
        url:'doctor/edit',
        data:params
    })
}

export function delOne(params){
    return request({
        method:'post',
        url:'doctor/delDoctotById',
        data:params
    })
}

export function delMore(params){
    return request({
        method:'post',
        url:'/doctor/delBatch',
        data:params
    })
}

